package com.second.order.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * (OrderRecord)表实体类
 *
 * @author lvyongqi
 * @since 2021-07-30 19:48:56
 */
@Data
@TableName("order_record")
@ApiModel("订单记录实体类")
public class OrderRecord {

    /**
     * 订单id
     */
    @TableId(value = "order_id",type = IdType.AUTO)
    @ApiModelProperty(value = "订单Id")
    private Integer orderId;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    /**
     * 订单编号
     */
    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id")
    private Integer carId;

    /**
     * 客户id
     */
    @ApiModelProperty(value = "客户id")
    private Integer clientId;

    /**
     * 费用id
     */
    @ApiModelProperty(value = "费用id")
    private Integer costId;

    /**
     * 预约取车时间
     */
    @ApiModelProperty(value = "预约取车时间")
    private String subscribePickTime;

    /**
     * 实际取车时间
     */
    @ApiModelProperty(value = "实际取车时间")
    private String actualPickTime;

    /**
     * 预约还车时间
     */
    @ApiModelProperty(value = "预约还车时间")
    private String subscribeReturnTime;

    /**
     * 实际还车时间
     */
    @ApiModelProperty(value = "实际还车时间")
    private String actualReturnTime;

    /**
     * 取车门店
     */
    @ApiModelProperty(value = "取车门店")
    private String pickStore;

    /**
     * 还车门店
     */
    @ApiModelProperty(value = "还车门店")
    private String returnStore;

    /**
     * 取车员
     */
    @ApiModelProperty(value = "取车员")
    private String pickCollector;

    /**
     * 还车员
     */
    @ApiModelProperty(value = "还车员")
    private String returnCollector;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 汽车名
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "汽车名")
    private String carName;

    /**
     * 汽车图
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "汽车图")
    private String bigPic;

    /**
     * 座位数
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "座位数")
    private String seating;

    /**
     * 汽车配置
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "汽车配置")
    private String typename;

    /**
     * 档类型
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "档类型")
    private String speedBox;

    /**
     * 费用明细
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "费用明细")
    private OrderCost orderCost;
}
